package com.examples.calendar.viewer.item;

import java.util.List;

import org.eclipse.jface.viewers.StructuredViewer;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Widget;

public class CalendarViewer extends StructuredViewer {
	CalendarControl calCtrl;

	public CalendarViewer(CalendarControl calCtrl) {
		this.calCtrl = calCtrl;
		super.hookControl(calCtrl);
		/*
		 * Adding paint listeners
		 */
		calCtrl.addPaintListener(calCtrl);
	}

	@Override
	protected Widget doFindInputItem(Object element) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	protected Widget doFindItem(Object element) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	protected void doUpdateItem(Widget item, Object element, boolean fullMap) {
		// TODO Auto-generated method stub
	}

	@Override
	protected void internalRefresh(Object element) {
		// TODO Auto-generated method stub

	}

	@Override
	public void reveal(Object element) {
		// TODO Auto-generated method stub

	}

	@SuppressWarnings("rawtypes")
	@Override
	protected void setSelectionToWidget(List l, boolean reveal) {
		// TODO Auto-generated method stub

	}

	@Override
	public Control getControl() {
		return calCtrl;
	}

	@SuppressWarnings("rawtypes")
	@Override
	protected List<?> getSelectionFromWidget() {
		// TODO Auto-generated method stub
		return null;
	}
}
